<?php /* Smarty version 2.6.18, created on 2010-03-11 10:01:16
         compiled from dataFMAOrgFishingArea.tpl */ ?>
<form method="POST" action="/admin/dataFMAFishingAreaSave" enctype="multipart/form-data">
<div>
	<input type="hidden" name="org_id" value="<?php echo $this->_tpl_vars['org_id']; ?>
">	<input type="hidden" name="fishing_area_id" value="<?php echo $this->_tpl_vars['fishing_area_id']; ?>
">
	<div id="drag_bar" class="blue">
		<h2 class="dotted">Fishing Area</h2>
	</div>
	<br>
	<div style="overflow: auto;height:auto;" width="100%">
	<table>
		<tr>
			<td width="40%"><label>Fishing Area Name</label></td>
			<td><input type="text" name="fishing_area_name" value="<?php echo $this->_tpl_vars['fishing_area']['fishing_area_name']; ?>
"></td>
		</tr>
		<tr>
			<td width="40%"><label>Area</label></td>
			<td><input type="text" name="area" value="<?php echo $this->_tpl_vars['fishing_area']['area']; ?>
"></td>
		</tr>
		<tr valign="top">
			<td>
				<label>Mac Certified</label><br>
			</td>
			<td>
				<input type="checkbox" name="mac_certified" value="1" <?php if ($this->_tpl_vars['fishing_area']['mac_certified'] == 1): ?> checked <?php endif; ?>>
			</td>
		</tr>
		<tr>	
			<td><label>Country</label></td>
			<td>
				<select  name="country_code">					<option value=" ">--- Select Country ---</option>						<?php $_from = $this->_tpl_vars['countries']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['country']):
?>                           							<option value="<?php echo $this->_tpl_vars['country']['country_code']; ?>
" 																<?php if ($this->_tpl_vars['country']['country_code'] == $this->_tpl_vars['fishing_area']['country_code']): ?>																	selected																<?php endif; ?> 							><?php echo $this->_tpl_vars['country']['country']; ?>
</option>						<?php endforeach; endif; unset($_from); ?>				</select>
			</td>
		</tr>
	</table>
	</div>
	<input type="submit" value="Save">
	<input type="button" value="Cancel" onclick="popup('popUpDiv');">
</div>
</form>